<?php
	include_once $_SERVER['DOCUMENT_ROOT'] . '/projet_mosquee/AMC/conf/conf.site.inc.php';
	// include_once $_SERVER['DOCUMENT_ROOT'] . '/inscriptions/conf/conf.site.inc.php';
	
	include_once PARENT_CLASS;
	include_once FUNCTIONS_FILE;
	
	$parent = new parent_class();
							 
	$result = $parent->parentSearch ($_POST["parentSearchInput"]);
	if ($result) {
		$aRetour = array();
		$aRetour["CODE_RETOUR"] = 1;
	}
	else {
		$aRetour = array();
		$aRetour["CODE_RETOUR"] = 0;
	}
	echo json_encode($result);
	
	$parent->_parent_class();
?>